import unittest

from BeautifulReport import BeautifulReport as bf
from EcShopRegisterUnitTest import EcShopRegisterUnitTest

if __name__ == '__main__':
    # 创建好了一个 测试集
    suite = unittest.TestSuite()
    suite.addTests(unittest.TestLoader().loadTestsFromTestCase(EcShopRegisterUnitTest))
    runner = bf(suite)
    runner.report("EcShop注册的测试用例执行覆盖率", filename='EcShopRegisterUnitTest_Reporter_01.html')

